<div class="row contentBox">
  <app-sidebar-report></app-sidebar-report>
  <div class="contentArea_rightDiv contentArea_rightDiv-bg">
      <div class="row txtTitle">
          <input type="text" class="input_style"
          #queryCriteria="ngModel"
          name="searchData"
          placeholder="请输入产品名称"
          (input)="changesearch()"
          (keyup.enter)="changesearch()"
          [(ngModel)]="searchData"
          *ngIf="right['reportProduct']['query']"
          >
          <span class="btn btn-search btn-blue" (click)="search()"  *ngIf="right['reportProduct']['query']" mat-button>检索</span>
          <button class="btn btn-info btn-blue" style="display:none;" *ngIf="right['reportProduct']['export']">导出</button>
      </div>
       <!-- 表格 BEGIN -->
       <app-report-product-table #table></app-report-product-table>
       <!-- 表格 END -->

      <!-- 分页 BEGIN -->
      <app-pagination [getTotalItems]="table.total"
         (isLoadTableFromPagination)="_pagination($event)"
         >
        </app-pagination>
      <!-- 分页 END -->
  </div>
</div>
